package cn.edu.swu.picture;

import java.util.Date;

//处理的对象
public class Picture {
    private int id;
    private String type;
    private String DOL;
    private String memo;
    private Date store;
    private String image;


    public Picture(int id, String type, String DOL, String memo, Date store, String image){
        this.setId(id);
        this.setType(type);
        this.setDOL(DOL);
        this.setMemo(memo);
        this.setStore(store);
        this.setImage(image);
    }

    public Picture() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }



    public void setDOL(String DOL) {
        this.DOL = DOL;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Date getStore() {
        return store;
    }

    public void setStore(Date store) {
        this.store = store;
    }
    public String getDOL() {
        return DOL;
    }

    public void setImage(String image){
        this.image = image;
    }

    public String getImage(){
        return this.image;
    }

    public String toString(){
        return String.format("%s, %s, %s, %s, %s, %s", this.getId(), this.getType(), this.getDOL(), this.getMemo(), this.getStore(), this.getImage());
    }


}
